package net.javashop.biz.manager.impl;

import net.javashop.biz.manager.ManagerBiz;
import net.javashop.dao.ManagerDao;
import net.javashop.entity.Manager;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("managerBiz")
public class ManagerBizImpl implements ManagerBiz{
	@Autowired
	private ManagerDao managerDao;
	
	public Manager getManagerByUsername(String username){
		Manager manager = managerDao.getManagerByUsername(username);
		return manager;
	}
}
